count based text representation